import { AxiosPromise } from 'axios'
// @ts-ignore
import request from '/@/utils/request'

const prefix = '/api/dms/order/confirm/'
// 新建订单获取组  id
export const orderConfirmReceipt: (data: object) => AxiosPromise = (data) =>
  request(`${prefix}receipt`, { data })
